<form id="jvForm" action="${base}/login.jspx?returnUrl=/" method="post">
			[#if user??]
			<div class="login_box">
				<div class="user_box fix">
					<label>用户名:</label> 
					${user.username}
				</div>
				
				<div class="user_box fix">
					<label>邮&nbsp;&nbsp;箱:</label> 
					${user.email}
				</div>
				
				
				
				<div class="submit_box fix">
					<a href="logout.jspx?returnUrl=/">退出登录</a>
					<a href="${base}/member/index.jspx">会员中心</a>
				</div>
			</div>
			[#else]
			<div class="login_box">
				
				<div class="user_box fix">
					<label>用户名:</label> 
					<input type="text" name="username" class="user"/>
				</div>
				
				<div class="user_box fix">
					<label>密&nbsp;&nbsp;码:</label> 
					<input name="password" type="password" class="user"/>
				</div>
				
				<div class="user_box fix">
					<label>验证码:</label> 
					<input type="text" name="captcha" class="ycode"/> 
									
					<img id="guestbookCaptcha" src="${base}/captcha.svl" onclick="this.src='${base}/captcha.svl?d='+new Date()"/>
				</div>
				
				<div class="submit_box fix">
					<input type="image" onclick="document.jvForm.submit();" src="/${res}/img/login_btn.gif"/>
					<span>
						<a href="#" class="reg">注册用户</a><br/><a href="#">忘记密码</a>
					</span>
				</div>
			</div>
			[/#if]
    </form>	